<template>
  <div>
    <header class="text-header">
      <router-link :to="{path: 'tLogin' }">
        <img src="./../../assets/pt/jiantou.png" />
      </router-link>
      <h2>接单成功</h2>
    </header>
    <div class="order-container">
      <img src="./../../assets/bpt/7.png" />
      <p>接单成功</p>
      <p>请您快速到达服务地区</p>
    </div>
  </div>	
</template>


<style>
.text-header {
  display: flex;
  position: relative;
  align-items: center;
  justify-content: center;
  padding: 0.28rem;
  background-color: #e87979;
}
.text-header a img {
  position: absolute;
  left: 0.3rem;
	top: 50%;
	transform: translateY(-50%);
  height: 0.32rem;
  width: 0.32rem;
}
.text-header h2 {
  font-size: 0.34rem;
  color: #fff;
  text-align: center;
}
.order-container img {
  width: 2rem;
  height: 2rem;
}
.order-container {
  margin-top: 50%;
  transform: translateY(-20%);
  width: 100%;
  height: 3rem;
  line-height: 0.56rem;
  text-align: center;
  font-size: 0.36rem;
}
</style>